package com.ruicar.afs.cloud.admin.api.event;

import com.alibaba.fastjson.annotation.JSONField;
import com.ruicar.afs.cloud.admin.api.dto.UserSimpleInfoDto;
import com.ruicar.afs.cloud.admin.api.enums.ChangeType;
import com.ruicar.afs.cloud.common.core.enums.AfsEnumDeserializer;
import com.ruicar.afs.cloud.common.core.enums.AfsEnumSerializer;
import lombok.Data;

import java.util.List;

@Data
public class UserChangeEventParam {
    private List<UserSimpleInfoDto> userSimpleInfoLists;
    @JSONField(serializeUsing = AfsEnumSerializer.class,deserializeUsing = AfsEnumDeserializer.class)
    ChangeType changeType;
}
